

def tt(x):
    x = str(x)
    result = x[::-1]
    if result == x:
        print('true')
    else:
        print('false')


if __name__ == '__main__':
    x = 1221
    tt(x)
